<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>积分平台</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" type="text/css" href="__INDEX__/mui/css/mui.min.css"/>
		<link rel="stylesheet" type="text/css" href="__INDEX__/css/iconfont.css"/>
		<link rel="stylesheet" type="text/css" href="__INDEX__/css/common.css"/>
		<link rel="stylesheet" type="text/css" href="__INDEX__/css/coreMsg.css"/>
		<script src="__INDEX__/js/lib/font.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
	   	
	    <div class="mui-content">
	    	<!--页面主结构开始-->
		    <div id="app" class="mui-views mui-fullscreen mui-control-content mui-active">
		        <div class="mui-view">
		            <div class="mui-navbar">
		            </div>
		            <div class="mui-pages">
		            </div>
		        </div>
		    </div>
		    <!--页面主结构结束-->
		    <!--单页面开始-->
		    <div id="setting" class="mui-page">
		        <!--页面标题栏开始-->
		        <!--<header class="mui-bar mui-bar-nav">
			   	    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			   	    <h1 class="mui-title">个人信息</h1>
			   	</header>-->
		        <div class="mui-navbar-inner mui-bar mui-bar-nav">
		            <!--<button type="button" class="mui-left mui-action-back mui-btn  mui-btn-link mui-btn-nav mui-pull-left">-->
		                <!--<span class="mui-icon mui-icon-left-nav"></span>-->
		            <!--</button>-->
					<a class="mui-icon mui-icon-left-nav mui-pull-left goindex" style="color: #ffffff"></a>
		            <h1 class="mui-center mui-title">消息通知</h1>
		        </div>
		        <!--页面标题栏结束-->
		        <!--页面主内容区开始-->
		        <div class="mui-page-content">
		            <div class="mui-scroll-wrapper">
		                <div class="mui-scroll">
					        <div class="modular">
					        	<div class="nickname">
					        		<a href="#putongInfo">
						        		<span class="mui-pull-left">普通消息</span>
										{if $data['putongshu']>0}
						        		<b class="jiaobiao mui-badge mui-badge-danger">{$data['putongshu']}</b>
										{/if}
						        		<span class="mui-pull-right mui-icon mui-icon-forward"></span>
							        </a>
						        </div>
					        </div>
					        <div class="modular">
					        	<div class="nickname">
					        		<a href="#jinshengInfo">
						        		<span class="mui-pull-left">晋升消息</span>
										{if $data['jinshenshu']>0}
						        		<b class="jiaobiao mui-badge mui-badge-danger">{$data['jinshenshu']}</b>
										{/if}
						        		<span class="mui-pull-right mui-icon mui-icon-forward"></span>
							        </a>
						        </div>
					        </div>
		                </div>
		            </div>
		        </div>
		        <!--页面主内容区结束-->
		    </div>
		    <!--单页面结束-->
		    <div id="putongInfo" class="mui-page">
		        <div class="mui-navbar-inner mui-bar mui-bar-nav">
		            <button type="button" class=" mui-navbar-left mui-left mui-action-back mui-btn  mui-btn-link mui-btn-nav mui-pull-left">
		                <span class="mui-icon mui-icon-left-nav"></span>
		            </button>
		            <h1 class="mui-center mui-title">普通消息</h1>
		        </div>
		        <div class="mui-page-content">
		            
                    <div class="mui-content">
				    	<div id="pullrefresh" class="mui-content mui-scroll-wrapper">
					      <div class="mui-scroll">
							  {if $data['putong_new']}
							  <label>未读消息</label>
					           <ul class="container mui-table-view mui-table-view-chevron">
								   {foreach $data['putong_new'] as $value}
								   <li>
									   <div class="modular">
										   <a href="javascript:;" data-url="{:url('index/message')}?id={$value['id']}">
											   <div class="modular-cont baogao">
												   <h3><i class="mui-icon iconfont">&#xe63f;</i><span class="cont-title">{$value['nickname']}</span><span class="cont-name">发送的消息</span></h3>
												   <p>{$value['describe']}</p>
												   <span class="mui-pull-right mui-icon mui-icon-arrowright"></span>
											   </div>
										   </a>
									   </div>
								   </li>
								   {/foreach}
						          	<!--<li>-->
						          		<!--<div class="modular">-->
						          			<!--<a href="javascript:;" data-url="{:url('index/message')}?type=noticeInfo">-->
						          				<!--<div class="modular-cont gonggao">-->
						          					<!--<h3><i class="mui-icon iconfont">&#xe63f;</i><span class="cont-title">工作周报</span></h3>-->
						          					<!--<p>当然是有多少钱，就买多少钱呗，么钱咋办啊盛大盛大盛大</p>-->
						          					<!--<span class="mui-pull-right mui-icon mui-icon-arrowright"></span>-->
						          				<!--</div>-->
						          			<!--</a>-->
						          		<!--</div>-->
						          	<!--</li>-->
					           </ul>
							  {/if}
							  {if $data['putong_used']}
							  <label>已读消息</label>
							  <ul class="container mui-table-view mui-table-view-chevron">
								  {foreach $data['putong_used'] as $value}
								  <li>
									  <div class="modular">
									  	<a href="javascript:;" data-url="{:url('index/message')}?id={$value['id']}">
											<div class="modular-cont baogao">
												<h3><i class="mui-icon iconfont">&#xe63f;</i><span class="cont-title">{$value['nickname']}</span><span class="cont-name">发送的消息</span></h3>
												<p>{$value['describe']}</p>
												<span class="mui-pull-right mui-icon mui-icon-arrowright"></span>
											</div>
									  	</a>
									  </div>
								  </li>
								  {/foreach}
							  </ul>
							  {/if}
					      </div>
					    </div>
				    </div>
		        </div>
		    </div>
		    <!--单页面结束-->
		    <div id="jinshengInfo" class="mui-page">
		        <div class="mui-navbar-inner mui-bar mui-bar-nav">
		            <button type="button" class=" mui-navbar-left mui-left mui-action-back mui-btn  mui-btn-link mui-btn-nav mui-pull-left">
		                <span class="mui-icon mui-icon-left-nav"></span>
		            </button>
		            <h1 class="mui-center mui-title">晋升消息</h1>
		        </div>
		        <div class="mui-page-content">
		            
                    <div class="mui-content">
				    	<div id="pullrefresh2" class="mui-content mui-scroll-wrapper">
					      <div class="mui-scroll">
							  {if $data['jinshen_new']}
							  <label>未读消息</label>
					          <ul class="container mui-table-view mui-table-view-chevron">
								  {foreach $data['jinshen_new'] as $value}
					                <li>
						          	    <div class="modular">
						          			<a href="javascript:;" data-url="{:url('index/message')}?id={$value['id']}">
						          				<div class="modular-cont">
						          					<h3><i class="mui-icon iconfont">&#xe63f;</i><span class="cont-title">{$value['nickname']}</span><span class="cont-name">发送来的消息
						          					</span></h3>
						          					<p>{$value['describe']}</p>
						          					<span class="mui-pull-right mui-icon mui-icon-arrowright"></span>
						          				</div>
						          			</a>
						          		</div>
						          	</li>
								  {/foreach}
					          </ul>
							  {/if}
							  {if $data['jinshen_used']}
							  <label>已读消息</label>
							  <ul class="container mui-table-view mui-table-view-chevron">
								  {foreach $data['jinshen_used'] as $value}
								  <li>
									  <div class="modular">
										  <a href="javascript:;" data-url="{:url('index/message')}?id={$value['id']}">
											  <div class="modular-cont">
												  <h3><i class="mui-icon iconfont">&#xe63f;</i><span class="cont-title">{$value['nickname']}</span><span class="cont-name">发送来的消息
						          					</span></h3>
												  <p>{$value['describe']}</p>
												  <span class="mui-pull-right mui-icon mui-icon-arrowright"></span>
											  </div>
										  </a>
									  </div>
								  </li>
								  {/foreach}
							  </ul>
							  {/if}
					      </div>
					    </div>
				    </div>
		        </div>
		    </div>
	    </div>
	    <nav class="mui-bar mui-bar-tab footer">
	        <a class="mui-tab-item">
	            <span class="mui-icon mui-icon-home"></span>
	            <span class="mui-tab-label">首页</span>
	        </a>
	        <a class="mui-tab-item">
	            <i class="mui-icon iconfont">&#xe7bd;</i>
	            <span class="mui-tab-label">积分榜</span>
	        </a>
	        <a class="mui-tab-item">
	            <i class="mui-icon iconfont">&#xe64e;</i>
	            <span class="mui-tab-label">平台使用</span>
	        </a>
	        <a class="mui-tab-item  mui-active">
	            <i class="mui-icon iconfont">&#xe649;</i>
	            <span class="mui-tab-label">个人中心</span>
				{if $newsshu}
				<b class="mui-badge mui-badge-danger" style="position: absolute;top:.03rem;right:.2rem">{$newsshu}</b>
				{/if}
	        </a>
	    </nav>
		<script src="__INDEX__/js/lib/zepto.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/mui/js/mui.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/mui/js/mui.view.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/layer_mobile/layer.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/js/common.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/js/coreMsg.js" type="text/javascript" charset="utf-8"></script>
	<script>
		$(".goindex").on('tap',function () {
			window.location.href = "{:url('index/core')}";
        })
	</script>
	</body>
</html>
